//
//  FourViewModel.h
//  DemoTest
//
//  Created by DaShuEdu on 2017/5/4.
//  Copyright © 2017年 DaShuEdu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void(^DidSelectCellBlock)(NSIndexPath *indexPath, id item);

@interface FourViewModel : NSObject

@property (nonatomic, copy) DidSelectCellBlock didSelectCellBlock;

- (id)initWithItems:(NSArray *)items
     didSelectBlock:(DidSelectCellBlock)didSelectBlock;

- (id)itemAtIndexPath:(NSIndexPath *)indexPath;

- (void)handleTableViewDataSourceAndDelegate:(UITableView *)tableView;

@end
